package com.china.school.interceptor;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class AroundTest implements MethodInterceptor {
    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {

        System.out.println("-----around---前------");
        invocation.proceed();
        System.out.println("-----around---后-----");

        return null;
    }
}
